package org.example.business;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@EnableAsync
@EnableTransactionManagement
//@EnableConfigurationProperties(ConfigProperties.class)
@SpringBootApplication(scanBasePackages = {"org.example.sys","org.example.business"})
public class BusinessProcessApplication {

    public static void main( String[] args ) {
        SpringApplication.run(BusinessProcessApplication.class, args);
        log.info("\n       __                 __   \n" +
                "  _______/  |______ ________/  |_ \n" +
                " /  ___/\\   __\\__  \\\\_  __ \\   __\\\n" +
                " \\___ \\  |  |  / __ \\|  | \\/|  |  \n" +
                "/____  > |__| (____  /__|   |__|  \n" +
                "     \\/            \\/       ");
    }

}
